<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    section {
      border: 1px solid black;
      width: 50%;
      margin: 50px auto;
      background-color: rgb(65, 65, 45);
    }

    form {
      margin: 1rem;
    }
  </style>
</head>

<body>
  <section>
    <form action="">
      <input type="text" name="nickName" placeholder="请输入昵称">
      <div data-star="shangpin"></div>
      <div data-star="wuliu"></div>
      <div data-star="fuwu"></div>
      <input type="submit" value="提交">
    </form>
  </section>
</body>

</html>
<script src="star.js"></script>
<script>
</script>